﻿using CTM.Web.Data;
using CTM.Web.Models.Input;
using CTM.Web.Repositories;

namespace CTM.Web.Services
{
    public interface IConversationService : IApplicationService<Conversation>
    {
    }

    public class ConversationService : ApplicationService<Conversation>, IConversationService
    {
        IUnitOfWork unitOfWork;
        IConversationRepository conversationRepository;

        public ConversationService(IUnitOfWork unitOfWork, IConversationRepository conversationRepository)
            : base(unitOfWork, conversationRepository)
        {
            this.unitOfWork = unitOfWork;
            this.conversationRepository = conversationRepository;
        }
    }
}